//
//  MVPManner.m
//  架构
//
//  Created by 王玉东 on 2018/10/10.
//  Copyright © 2018 WYD. All rights reserved.
//

#import "MVPManner.h"

@implementation MVPManner
-(void)printTask{
    
    NSString *content = self.model.content;
    [_view printOnview:content];
    
}
-(void)onprintBtnclick{
    
    int acr = arc4random()%10;
    self.model.content = [NSString stringWithFormat:@"line %d",acr];
    [self.view printOnview:self.model.content];
    
}
@end
